<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>相对定位</title>
     <style>
        .index
        {
            font-size: 12px;
            position: relative;
            bottom: 6px;
        }
     </style>
</head>
<body>
    <div>
        <span>3</span><span class="index">2</span>+
        <span>2</span><span class="index">3</span> = 17
    </div>
</body>
</html>